import { Component, Input } from '@angular/core';
import { SettlementMethod } from 'src/app/@core/data/customer';

@Component({
  selector: 'app-edit-settlement-methed',
  templateUrl: './edit-settlement-methed.component.html',
  styleUrls: ['./edit-settlement-methed.component.scss']
})
export class EditSettlementMethedComponent {
  @Input() data:any
  form: SettlementMethod = {
    settlementMethodId: 0,
    settlementMethodNum: '',
    settlementMethodName: '',
    isDefault: false,
    isEnable: true,
  }
  constructor() {

  }
  ngOnInit(): void {
    this.form = { ...this.data.data }
  }
}
